home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / exec / funpush1.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  679 b   |  31 lines

  1. /*
  2. \funcref{fun\_push\_1\_jmp\_end}{void fun\_push\_1\_jmp\_end ()}
  3.     {}
  4.     {}
  5.     {push()}
  6.     {fun\_push\_0()}
  7.     {funpush1.c}
  8.     {
  9.         This function serves the evaluation of logical expressions. It is
  10.         executed when an {\em op\_push\_1\_jmp\_end} opcode is found in the
  11.         binary
  12.         makefile. A variable of type {\em e\_int} is pushed, while its {\em
  13.         vu.intval} field is set 1. After this, the next opcode (which is
  14.         by definition {\em op\_push\_0}) is skipped.
  15.     }
  16. */
  17.  
  18. #include "icm-exec.h"
  19.  
  20. void fun_push_1_jmp_end ()
  21. {
  22.     VAR_
  23.         tmp;
  24.  
  25.     tmp.type = e_int;
  26.     tmp.vu.intval = 1;
  27.     push (tmp);
  28.  
  29.     getopcode (infile);
  30. }
  31.